package com.bjpowernode.crm.workbench.clue.service;

import com.bjpowernode.crm.commons.PagationVo;
import com.bjpowernode.crm.settings.domain.DicValue;
import com.bjpowernode.crm.workbench.domain.Activity;
import com.bjpowernode.crm.workbench.domain.Clue;
import com.bjpowernode.crm.workbench.domain.ClueRemark;

import java.util.List;
import java.util.Map;

/**
 * ClassName: ClueService<br/>
 * Package: com.bjpowernode.crm.workbench.clue.service<br/>
 * Description: <br/>
 * Date: 2022/7/10 3:10<br/>
 * Auther:对的我写的，错的我同事写的<br/>
 */
public interface ClueService {
    PagationVo<Clue> selectClues(Map paramMap);

    List<DicValue> selectSourceAndState(String date);

    Integer insertClue(Clue clue);

    Clue selectclueById(String id);

    Integer updateClue(Clue clue);

    Integer delectClueByIds(String[] ids);

    List<ClueRemark> selectRemarkById(String id);

    Integer insertClueRemark(ClueRemark remark);

    List<Activity> selectActivitiesByClueId(String clueId);

    Integer deleteActivityByactivityIdAndclueId(Map map);

    List<Activity> selectActivityByactivityIdAndclueId(Map map);

    Integer insertClueActivityRelation(List list);
}
